package com.blrs.system.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 附件对象 sys_upload_file
 * 
 * @author yuxaing.chen
 * @date 2023-07-20
 */
public class SysUploadFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;
    /** 业务id */
    private String businessId;
    /**  */
    @Excel(name = "")
    private String businessCode;

    /**  */
    @Excel(name = "")
    private String fileName;

    /**  */
    @Excel(name = "")
    private String fileType;

    /**  */
    @Excel(name = "")
    private String fileSize;

    /**  */
    @Excel(name = "")
    private String url;

    /**  */
    @Excel(name = "")
    private String PhyPath;

    /** 备注 */
    @Excel(name = "备注")
    private String content;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /**  */
    @Excel(name = "")
    private String operateId;

    /**  */
    @Excel(name = "")
    private String departmentId;

    /**  */
    @Excel(name = "")
    private String departmentName;

    /**  */
    @Excel(name = "")
    private Long organizationId;

    /**  */
    @Excel(name = "")
    private String organizationName;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;
    /**
     * 上传时间
     */
    private String uploadTime;
    /**
     * 是否删除 0否 1是
     */
    private Integer delFlag;
    /**
     * 新文件名
     */
    private String  newFileName;
    /**  */
    @Excel(name = "")
    private String creationBy;
    private String isSyn;

    public String getIsSyn() {
        return isSyn;
    }

    public void setIsSyn(String isSyn) {
        this.isSyn = isSyn;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBusinessCode(String businessCode) 
    {
        this.businessCode = businessCode;
    }

    public String getBusinessCode() 
    {
        return businessCode;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setFileSize(String fileSize) 
    {
        this.fileSize = fileSize;
    }

    public String getFileSize() 
    {
        return fileSize;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPhyPath(String PhyPath) 
    {
        this.PhyPath = PhyPath;
    }

    public String getPhyPath() 
    {
        return PhyPath;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setOperateId(String operateId) 
    {
        this.operateId = operateId;
    }

    public String getOperateId() 
    {
        return operateId;
    }
    public void setDepartmentId(String departmentId) 
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setCreationBy(String creationBy)
    {
        this.creationBy = creationBy;
    }

    public String getCreationBy()
    {
        return creationBy;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getNewFileName() {
        return newFileName;
    }

    public void setNewFileName(String newFileName) {
        this.newFileName = newFileName;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessCode", getBusinessCode())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("fileSize", getFileSize())
            .append("url", getUrl())
            .append("PhyPath", getPhyPath())
            .append("content", getContent())
            .append("operateTime", getOperateTime())
            .append("operateId", getOperateId())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("creationTime", getCreationTime())
            .append("creationBy", getCreationBy())
            .toString();
    }
}
